
.popup-menu {
  .popup-menu-item {
    padding: $base_padding $base_padding * 2;

    // &:ltr { padding-right: $base_padding * 2.5 !important; padding-left: $base_padding !important; }
    // &:rtl { padding-right: $base_padding !important; padding-left: $base_padding * 2.5 !important; }
  }
}

// separator
.popup-separator-menu-item {
  padding: 0 !important;

  .popup-separator-menu-item-separator {
    height: 1px; //not really the whole box
    background-color: $border;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: $base_padding 32px;

    .popup-sub-menu & { //submenu separators
      padding: 0 !important;
      margin: 0 32px 0 0 !important;
      height: 1px;
    }
  }
}

// system status popover menu
.aggregate-menu {
  .popup-menu-item > :first-child {
    &:ltr { padding-left: 0 !important; margin-left: 0 !important; }
    &:rtl { padding-right: 0 !important; margin-right: 0 !important; }
  }

  .popup-sub-menu .popup-menu-item > :first-child {
    &:ltr { padding-left: $base_padding * 2 !important; margin-left: 0 !important; }
    &:rtl { padding-right: $base_padding * 2 !important; margin-right: 0 !important; }
  }
}

// right-click (and panel) app menu
.app-menu {
  max-width: 27.25em;

  // this is unneeded at the top-level in this menu, hide it
  .popup-menu-ornament { width: 0 !important; }

  .popup-inactive-menu-item:first-child {
    margin-bottom: $base_margin !important;
    // "Open Windows" label
    > StLabel {
      &:ltr { margin-right: 0; margin-left: $base_padding * 2; }
      &:rtl { margin-left: 0; margin-right: $base_padding * 2; }
    }
  }
}
